@import url('./theme.less');
html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif!important;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
  display: none;
}
*{
  box-sizing: border-box;
}
body {
  line-height: 1;
}
menu, ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.van-dialog{
  border-radius: 5px;
}
.normal-padding{
  padding: 15px;
}

.space-around {
	justify-content: space-around;
}

.flex-end {
	justify-content: flex-end;
}

.flex {
	display: flex;
}

.justify-center {
	justify-content: center;
	align-items: center;
}
.error-page{
  text-align: center;
  font-size: 14px;
  color: #333;
  height: 100vh;
  padding: 30px 0;
  .content{
    h1{
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 15px;
    }
    .desc{
      padding: 10px;
    }

  }
  .icon-notice{
    width: 200px;
    height: auto;
    margin-bottom: 20px;
  }
}

.charge-wrapper .common-record--item {
	background-color: #fff;
}

.charge-wrapper .common-record--item .flex-item {
	border-bottom: 1px solid #e8f4d9;
	padding: 5px 6px;
}

.charge-wrapper .common-record--item .flex-item .list {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 6px 0;
}
.charge-wrapper .common-record--item .flex-item .list .label .van-icon{
	vertical-align: middle;
}
.charge-wrapper .common-record--item .flex-item .list .label{
  display: flex;
  align-items: center;
}
.charge-wrapper .common-record--item .flex-item .list .value {
  font-size: 12px;
	color: #666;
	flex: 1;
	text-align: right;
}
.charge-wrapper .common-record--item .flex-item .list .right-num{
	font-weight: bold;
	font-size: 20px;
}
.bold{
	font-size: 14px;
	font-weight: bold;
}
.charge-wrapper .common-record--item .list-footer .list{
	padding: 10px 5px;
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.charge-wrapper .common-record--item .list-footer .list .value{
	flex: 1;
  text-align: right;
  font-size: 12px;
}
.record-detail--wrapper{
	height: 100%;
	background: #fff;
	padding-top: 25px;
}
.record-detail--wrapper .big-title{
	font-size: 14px;
	color: #333;
	margin-bottom: 25px;
	text-align: center;
}
.record-detail--wrapper .big-title .number{
	font-size: 20px;
	margin-bottom: 15px;
	font-weight: bold;
}
.record-detail{
	height: 100vh;
}
.disclaimer-wrapper{
  padding: 15px;
  line-height: 20px;
  font-size: 14px;
  color: #333;
}
.charge-wrapper {
	width: 100%;
	padding: 15px;
  box-sizing: border-box;
  height: 100%;
}
.button-charge-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
.van-dialog {
  position: fixed;
  top: 45%;
  left: 50%;
  width: 320px;
  overflow: hidden;
  font-size: 16px;
  background-color: #fff;
  border-radius: 16px;
  -webkit-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: .3s;
  transition: .3s;
  -webkit-transition-property: opacity,-webkit-transform;
  transition-property: opacity,-webkit-transform;
  transition-property: transform,opacity;
  transition-property: transform,opacity,-webkit-transform;
}
.common-title{
  padding: 20px 15px;
  font-size: 16px;
  color: #333
}
.van-picker-column__item--selected{
  color: @primary-color;
}
.van-picker-column{
  font-size: 18px;
}
.choose-option-v2{
  padding: 0 15px;
  .choose_actionsheet{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    .choose-item{
      padding: 10px;
      &.choose-active{
        .choose-substance{
          color: #fff;
          background-color: @primary-color;
        }
      }
      .choose-substance{
        width: 100%;
        height: 100%;
        font-size: 24px;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        color: #000000;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        box-shadow: 0 1px 12px rgba(0,0,0,.117647),
        0 2px 12px rgba(0,0,0,.117647);
      }
      width: 31.33333%;
      margin-right: 2%;
      height: 104px;
      &:nth-child(3n){
        margin-right: 0;
      }
    }
  }
}
.popup-choose-time{
  padding-top: 30px;
  .custom-title{
    font-size: 14px;
    font-weight: bold;
    color: #000;
  }
  .choose-time-v2{
    padding-top: 0;
    margin-top: 0;
  }
}
.choose-time-v2{
  padding: 15px;
  margin-top: 10px;
  .choose-time_actionsheet{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    .choose-item{
      width: 100%;
      height: 100%;
      font-size: 18px;
      font-family: Arial, Helvetica, sans-serif;
      color: #000000;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 5px;
      box-shadow: 0 1px 6px rgba(0,0,0,.117647), 0 1px 4px rgba(0,0,0,.117647);
      width: 31.3333%;
      margin-right: 3%;
      margin-top: 20px;
      padding: 20px 12px;
      height: 64px;
      &.choose-active{
        background-color: @primary-color;
        color: #fff;
      }
      &.choose-disabled{
        opacity: .8;
        pointer-events:none;
      }
      &:nth-child(3n){
        margin-right: 0;
      }
    }
  }
}
.notice-content{
  margin: 15px 0 50px 0;
}
@media (device-height:480px) and (-webkit-min-device-pixel-ratio:2){/* 兼容iphone4/4s */
　.choose-option-v2 .choose_actionsheet .choose-item{
    height: 95px;
  }
  .choose-time-v2 .choose-time_actionsheet .choose-item{
    font-size: 14px;
    padding: 10px;
  }
}

@media screen and (max-width: 340px){/* 兼容iphone5 */
  .choose-option-v2 .choose_actionsheet .choose-item{
    height: 95px;
  }
  .choose-time-v2 .choose-time_actionsheet .choose-item{
    font-size: 14px;
    padding: 13px;
  }
}
.choose-right-time{
  .choose-option{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    span{
      padding: 0 4px;
      color: #333;
      margin-left: 5px;
      min-width: 50px;
      text-align: center;
      font-size: 12px;
      &.can{
        border: 1px solid #f5f5f5;
      }
      &.not{
        border: none;
        background-color: #eeeeee;
      }
    }
  }
}
.choose-has-choose{
  .van-cell__title,.van-cell__value{
    font-weight: bold;
    font-size: 14px;
    color: @primary-color;
  }
}
.time-popup{
  .van-popup__close-icon--top-right{
    top: 10px;
  }
}
.choose-has-choose{
  .van-cell__value{
    display: flex;
    align-items: flex-start;
    span{
      display: block;
      width: 22px;
      height: 22px;
      border: 2px solid #eee;
      line-height: 20px;
      border-radius: 50%;
      text-align: center;
      color: @primary-color;
    }
  }
}
.has-port{
  padding-top: 0;
  margin-top: 0;
}
.space.common-bottom-padding{
  padding-bottom: 80px;
}
.list-wrapper{
  padding: 15px;
  .flex-list{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 12px;
    .title-line{
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      .num{
        font-size: 14px;
        color: #333;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 75%;
      }
      .status-1{
        color: #1BA12E;
      }
      .status-2{
        color: #FF0000;
      }
      .status{
        font-size: 14px;
      }
    }
    .sub-desc{
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
        color: #999999;
      .left-label{
        font-size: 13px;
      }
      em{
        font-size: 14px;
      }
    }
  }
}
.ui-form-preview {
  position: relative;
  background: #fff;
  background-color: var(--weui-BG-2);
}
.ui-form-preview:before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid #f5f5f5;
  color: #f5f5f5;
  transform-origin: 0 0;
  transform: scaleY(0.5);
}
.ui-form-preview:after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px solid #f5f5f5;
  color: #f5f5f5;
  transform-origin: 0 100%;
  transform: scaleY(0.5);
}
.ui-form-preview__hd {
  position: relative;
  padding: 8px 10px;
  text-align: right;
}
.ui-form-preview__hd:after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px solid #ececec;
  color: #f5f5f5;
  transform-origin: 0 100%;
  transform: scaleY(0.5);
  left: 16px;
}
.ui-form-preview__hd .ui-form-preview__value {
  font-style: normal;
  font-size: 16px;
}
.ui-form-preview__bd {
  padding: 8px 10px;
  font-size: 14px;
  text-align: right;
  color: var(--weui-FG-1);
  line-height: 2;
}
.ui-form-preview__ft {
  position: relative;
  line-height: 50px;
  display: flex;
}
.ui-form-preview__ft:before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid #f5f5f5;
  color: #f5f5f5;
  transform-origin: 0 0;
  transform: scaleY(0.5);
}
.ui-form-preview__item {
  overflow: hidden;
}
.ui-form-preview__label {
  float: left;
  margin-right: 1em;
  min-width: 4em;
  color: var(--weui-FG-1);
  text-align: justify;
  text-align-last: justify;
}
.ui-form-preview__value {
  display: block;
  overflow: hidden;
  word-break: normal;
  word-wrap: break-word;
  color: var(--weui-FG-0);
}
.ui-form-preview__btn {
  position: relative;
  display: block;
  flex: 1;
  color: var(--weui-LINK);
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
button.ui-form-preview__btn {
  background-color: transparent;
  border: 0;
  outline: 0;
  line-height: inherit;
  font-size: inherit;
}
.ui-form-preview__btn:active {
  background-color: var(--weui-BG-COLOR-ACTIVE);
}
.ui-form-preview__btn:after {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  bottom: 0;
  border-left: 1px solid #999;
  color: #999;
  transform-origin: 0 0;
  transform: scaleX(0.5);
}
.ui-form-preview__btn:first-child:after {
  display: none;
}
.ui-form-preview__btn_default {
  color: var(--weui-FG-HALF);
}
.ui-form-preview__btn_primary {
  color: var(--weui-LINK);
}
.ui-form-preview__list {
  padding-top: 24px;
  padding-bottom: 24px;
  line-height: 1.4;
  font-size: 14px;
  position: relative;
}
.ui-form-preview__list:before {
  content: "";
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid #999;
  color: #999;
  transform-origin: 0 0;
  transform: scaleY(0.5);
}
.ui-form-preview__list:last-child {
  padding-bottom: 0;
}
.ui-form-preview__list .ui-form-preview__label {
  text-align: left;
  text-align-last: unset;
  width: 6em;
}
.ui-form-preview__list .ui-form-preview__value {
  hyphens: auto;
}
.ui-form-preview__list .ui-form-preview__item {
  margin-top: 12px;
}
.ui-form-preview__list .ui-form-preview__item:first-child {
  margin-top: 0;
}
.ui-form-preview__list > .weui-cells__title:first-child {
  margin-top: 0;
}
.status-2{
  color: #FF0000;
}
.cube-popup{
  z-index: 2080!important;
}
.cube-picker-title{
  font-size: 14px;
}
.cube-picker-confirm{
  color: #2575f2;
}
.cube-picker-confirm, .cube-picker-cancel{
  font-size: 14px;
}
.van-popup{
  .van-popup__close-icon{
    position: fixed;
    top: 15px;
    right: 10px;
    font-size: 28px;
    color: #f5f5f5;
  }
}
.picker-container{
  height: 44px;
  .picker-toolbar{
    position: fixed;
    width: 100%;
    height: 44px;
    top: 10%;
    z-index: 7;
    background-color: #fff;
  }
}
.temp-charge-admin{
  .cube-form-item{
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    .cube-form-label,.cube-input{
      width: 100%;
    }
  }
}
input.cube-input-field[readonly],
input.cube-input-field[disabled],
.cube-form_standard .cube-select_disabled
{
  background-color: #ececec;
  color: #999;
}
.flex-filed-wrapper{
  .flex-block{
    color: #333;
    font-size: 14px;
  }
}
.org-tree-admin{
  .cube-form{
    .cube-form-label,.cube-form-field{
      width: 100%;
      font-size: 14px;
    }
  }
}
.cube-textarea-wrapper.cube-textarea_expanded{
  height: auto!important;
}
.cube-image-preview-item{
  .cube-scroll-list-wrapper{
    padding: 30px;
  }
}
.van-loading{
  .van-loading__text{
    font-size: 14px!important;
    display: inline-block;
    margin-left: 8px;
    color: #fff;
    vertical-align: middle;
  }
}
.router-back{
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 50%;
  position: fixed;
  right: 10px;
  bottom: 30px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.6);
  i{
    font-size: 28px;
    color: rgb(37, 117, 242);
  }
}
